<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{$title}</title>
<!-- Import google fonts - Heading first/ text second -->
<link rel='stylesheet' type='text/css' href='http://fonts.useso.com/css?family=Open+Sans:400,700|Droid+Sans:400,700' />
<!-- Favicon and touch icons -->
<link rel="shortcut icon" href="__PUBLIC__/admin/assets/ico/favicon.ico" type="image/x-icon" />
<!-- Css files -->
<link href="__PUBLIC__/admin/assets/css/bootstrap.min.css" rel="stylesheet">
<link href="__PUBLIC__/admin/assets/css/jquery.mmenu.css" rel="stylesheet">
<link href="__PUBLIC__/admin/assets/css/font-awesome.min.css" rel="stylesheet">
<link href="__PUBLIC__/admin/assets/plugins/jquery-ui/css/jquery-ui-1.10.4.min.css" rel="stylesheet">
<link href="__PUBLIC__/admin/assets/css/style.min.css" rel="stylesheet">
<link href="__PUBLIC__/admin/assets/css/add-ons.min.css" rel="stylesheet">
</head>
<SCRIPT LANGUAGE=javascript>   
function p_del() {   
var msg = "确定删除本分类吗?";   
if (confirm(msg)==true){   
return true;   
}else{   
return false;   
}   
}   
</SCRIPT>
<body>
<!-- start: Header --> 
<include file="./head" /> 
<!-- end: Header -->

<div class="container-fluid content">
<div class="row">

<!-- start: Main Menu --> 
<include file="./slide" /> 
<!-- end: Main Menu --> 

<!-- start: Content -->
<div class="main sidebar-minified">
  <div class="row">
    <div class="col-lg-8">
      <div class="panel panel-default">
        <div class="panel-heading">
          <h2><i class="fa fa-indent red"></i><strong>{$title}</strong></h2>
        </div>
        <div class="panel-body">
        <form action="{:U("user/updates")}" method="post" class="form-horizontal ">
          <input type="hidden" name="id" value="{$user.id}">
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-small">手机号</label>
            <div class="col-sm-6">
              <input type="text" id="input-small" name="user_tel" class="form-control input-sm"   value="{$user.user_tel}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-normal">密码</label>
            <div class="col-sm-6">
              <input type="text" id="input-normal" name="password" class="form-control"  value="" placeholder="如果重置会员密码,请直接输入,不输入默认不修改">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-large">独立点击价格</label>
            <div class="col-sm-6">
              <input type="text" id="input-large" name="price" class="form-control"  value="{$user.price}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-large">独立扣量比例</label>
            <div class="col-sm-6">
              <input type="text" id="input-large" name="kouliang_bili" class="form-control"  value="{$user.kouliang_bili}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-large">独立扣量时间</label>
            <div class="col-sm-6">
              <input type="text" id="input-large" name="kouliang_time" class="form-control"  value="{$user.kouliang_time}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-large">支付宝账号</label>
            <div class="col-sm-6">
              <input type="text" id="input-large" name="alipay" class="form-control"  value="{$user.alipay}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-large">支付宝姓名</label>
            <div class="col-sm-6">
              <input type="text" id="input-large" name="alipayname" class="form-control"  value="{$user.alipayname}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-large">微信昵称</label>
            <div class="col-sm-6">
              <input type="text" id="input-large" name="nickname" class="form-control"    value="{$user.nickname}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-large">微信识别码</label>
            <div class="col-sm-6">
              <input type="text" id="input-large" name="open_id" class="form-control"    value="{$user.open_id}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-large">上级id</label>
            <div class="col-sm-6">
              <input type="text" id="input-large" name="user_pid" class="form-control"   value="{$user.user_pid}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-large">余额</label>
            <div class="col-sm-6">
              <input type="text" id="input-large" name="balance" class="form-control"   value="{$user.balance}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-large">下级返现总额</label>
            <div class="col-sm-6">
              <input type="text" id="input-large" name="xiaji" class="form-control"  readonly value="{$user.xiaji}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-large">冻结金额</label>
            <div class="col-sm-6">
              <input type="text" id="input-large" name="dongjie" class="form-control"  readonly value="{$user.dongjie}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-large">已支付金额</label>
            <div class="col-sm-6">
              <input type="text" id="input-large" name="paid" class="form-control"    value="{$user.paid}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-large">注册时间</label>
            <div class="col-sm-6">
              <input type="text" id="input-large"class="form-control" readonly value="{:date('Y-m-d h:i:s',$user['reg_time'])}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-large">登陆时间</label>
            <div class="col-sm-6">
              <input type="text" id="input-large" class="form-control" readonly value="{:date('Y-m-d h:i:s',$user['login_time'])}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-large">注册IP</label>
            <div class="col-sm-6">
              <input type="text" id="input-large"  class="form-control"  readonly value="{:long2ip($user['reg_ip'])}">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-large">登陆IP</label>
            <div class="col-sm-6">
              <input type="text" id="input-large"   class="form-control"  readonly value="{:long2ip($user['login_ip'])}">
            </div>
          </div>
          <div class="form-group"> <span  class="col-sm-2"></span>
            <div class="col-sm-6">
              <button type="submit" class="btn btn-sm btn-success"><i class="fa fa-dot-circle-o"></i>保存</button>
            </div>
          </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
<include file="./foot" />
</body>
</html>